
class ReceiverA {
  name:string = 'A';
  actionFirst(): void {
    // 具体操作
    console.log(`执行者${this.name}做了actionFirst操作`);
  }
  actionSecond(): void{
    console.log(`执行者${this.name}做了actionSecond操作`);
  }
}

class ReceiverB {
  name:string = 'B';
  methodFirst():void{
    console.log(`执行者${this.name}调用了methodFirst方法`);
  }
  methodSecond():void{
    console.log(`执行者${this.name}调用了methodSecond方法`);
  }
}

class ReceiverC{
  name:string = 'C';
  stepOne():void{
    console.log(`执行者${this.name}进行了stepOne步骤`);
  }
  stepTwo():void{
    console.log(`执行者${this.name}进行了stepTwo步骤`);
  }
}

export {ReceiverA, ReceiverB, ReceiverC};